home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / NEW_TECH / SIM_IN.ZIP / MAKEFILE next >
Text File  |  1994-01-31  |  903b  |  33 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2. # Use this makefile to compile the usercode.dll with
  3. # the Microsoft 32-bit command line compiler for Alpha or Intel
  4.  
  5. !include <ntwin32.mak>
  6.  
  7. all: usercode.dll
  8.  
  9. OBJS = usercode.obj usercode.rbj
  10.  
  11. usercode.obj: usercode.c
  12.     $(cc) $(cflags) $(cvarsdll) $(scall) usercode.c 
  13.  
  14. usercode.res: usercode.rc 
  15.       rc -r usercode.rc
  16.  
  17. usercode.rbj: usercode.res 
  18.     cvtres -$(CPU) $usercode.res -o usercode.rbj
  19.  
  20. usercode.exp: usercode.def
  21.      $(implib) -machine:$(CPU) \
  22.      -def:usercode.def \
  23.      -out:usercode.lib usercode.obj
  24.  
  25.  
  26. usercode.dll: $(OBJS) usercode.lib usercode.def usercode.rbj usercode.exp
  27.     $(link) $(linkdebug) $(lflags) \
  28. #    -base:0x1c000000 \
  29.     -dll \
  30.     -entry:DllMain$(DLLENTRY) \
  31.     -out:usercode.dll usercode.exp $(OBJS) $(guilibsdll)
  32.                                                             
  33.